@import (reference) "./../../shared/color";
@import (reference) "./../../shared/common";
@import (reference) "./../../shared/constants";
:host {
  .display-flex;
  .flex;
}

.info-list {
  position: relative;
  margin: 0;
  height: 100%;
  overflow: auto;
  .flex;
  .detective {
    clear: both;
  }
}

.tip-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.info-item {
  font-size: 1.4rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 @space-common;
  .info-date {
    float: right;
  }
}

.info-link,
.list-heading {
  line-height: 30px;
  // padding: 0 10px;
}

.info-link {
  color: @color-black-light;
  &:hover,
  &:active,
  &.active {
    color: @color-black-normal;
  }
}

.info-list.combo-list {
  background-color: @color-white;
  height: 100%;
  overflow: scroll;
  overflow-x: hidden;
  @media(min-width: 1450px) {
    .info-item {
      float: left;
      width: 50%;
      &:nth-child(4n+3),
      &:nth-child(4n+4) {
        background-color: #F6F7F7;
      }
      &:nth-child(2n) {
        border-left: @border-simple;
      }
    }
  }
  @media(max-width: 1449px) {
    .info-item:nth-child(2n) {
      background-color: #F6F7F7;
    }
  }
}